/*
 * @(#) $Header$
 *
 * Copyright (C) 2007  Forklabs Daniel Léonard
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

package ca.forklabs.media.jai.mock;

import java.awt.Rectangle;
import java.awt.image.ColorModel;
import java.awt.image.Raster;
import java.awt.image.RenderedImage;
import java.awt.image.SampleModel;
import java.awt.image.WritableRaster;
import java.util.Vector;

/**
 * Class {@code MockRenderedImage} is an empty implementation of interface
 * {@link RenderedImage}.
 *
 * @author   <a href="mailto:forklabs at gmail.com?subject=ca.forklabs.media.jai.mock.MockRenderedImage">Daniel Léonard</a>
 * @version $Revision$
 */
public class MockRenderedImage implements RenderedImage {

   /**
    * Does nothing.
    * @param  raster   ignored.
    * @return   always {@code null}.
    */
   public WritableRaster copyData(WritableRaster raster) {
      return null;
      }

   /**
    * Does nothing.
    * @return   always {@code null}.
    */
   public ColorModel getColorModel() {
      return null;
      }

   /**
    * Does nothing.
    * @return   always {@code null}.
    */
   public Raster getData() {
      return null;
      }

   /**
    * Does nothing.
    * @param  rect   ignored.
    * @return   always {@code null}.
    */
   public Raster getData(Rectangle rect) {
      return null;
      }

   /**
    * Does nothing.
    * @return   always <em>0</em>.
    */
   public int getHeight() {
      return 0;
      }

   /**
    * Does nothing.
    * @return   always <em>0</em>.
    */
   public int getMinTileX() {
      return 0;
      }

   /**
    * Does nothing.
    * @return   always always <em>0</em>.
    */
   public int getMinTileY() {
      return 0;
      }

   /**
    * Does nothing.
    * @return   always always <em>0</em>.
    */
   public int getMinX() {
      return 0;
      }

   /**
    * Does nothing.
    * @return   always always <em>0</em>.
    */
   public int getMinY() {
      return 0;
      }

   /**
    * Does nothing.
    * @return   always always <em>0</em>.
    */
   public int getNumXTiles() {
      return 0;
      }

   /**
    * Does nothing.
    * @return   always always <em>0</em>.
    */
   public int getNumYTiles() {
      return 0;
      }

   /**
    * Does nothing.
    * @param  name   ignored.
    * @return   always {@code null}.
    */
   public Object getProperty(String name) {
      return null;
      }

   /**
    * Does nothing.
    * @return   always {@code null}.
    */
   public String[] getPropertyNames() {
      return null;
      }

   /**
    * Does nothing.
    * @return   always {@code null}.
    */
   public SampleModel getSampleModel() {
      return null;
      }

   /**
    * Does nothing.
    * @return   always {@code null}.
    */
   public Vector<RenderedImage> getSources() {
      return null;
      }

   /**
    * Does nothing.
    * @param  tileX   ignored.
    * @param  tileY   ignored.
    * @return   always {@code null}.
    */
   public Raster getTile(int tileX, int tileY) {
      return null;
      }

   /**
    * Does nothing.
    * @return   always <em>0</em>.
    */
   public int getTileGridXOffset() {
      return 0;
      }

   /**
    * Does nothing.
    * @return   always <em>0</em>.
    */
   public int getTileGridYOffset() {
      return 0;
      }

   /**
    * Does nothing.
    * @return   always <em>0</em>.
    */
   public int getTileHeight() {
      return 0;
      }

   /**
    * Does nothing.
    * @return   always <em>0</em>.
    */
   public int getTileWidth() {
      return 0;
      }

   /**
    * Does nothing.
    * @return   always <em>0</em>.
    */
   public int getWidth() {
      return 0;
      }

   }
